﻿@model IEnumerable<SchoolProject2012.Areas.Eleve.Models.QUESTIONEVAL>
@using SchoolProject2012.Langue
@{
    ViewBag.Title = Resources.questionnaire;
}

<h2>@Resources.questionnaire</h2>

<table>
    <tr>
        <th>
            @Html.DisplayNameFor(model => model.LIBQUESTEVAL)
        </th>
        <th>
            @Html.DisplayNameFor(model => model.NB_POINT_EVAL)
        </th>
        <th></th>
    </tr>

@foreach (var item in Model) {
    <tr>
        <td>
            @Html.DisplayFor(modelItem => item.LIBQUESTEVAL)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.NB_POINT_EVAL)
        </td>
        <td>
            @Html.ActionLink(Resources.repondre, "Repondre", new { id = item.IDEVAL, quest = item.IDQUESTEVAL, langue = ViewBag.langue }, new { @class = "link" })
        </td>
    </tr>
}

</table>

@Html.ActionLink(Resources.valider, "Valider", new { id = ViewBag.id, langue = ViewBag.langue }, new { @class = "link" })